package com.qxbb.report.vo;

import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.qxbb.report.utils.CustomDoubleSerialize;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * @version 1.0
 * @author: pebble
 * @data 2023/10/9 14:48
 */
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class ProductSalesVO {
    /**
     * 年份
     */
    private int yearId;

    /**
     * 季度id
     */
    private int quarterId;

    /**
     * 净售量
     */
    private int netSalesVolume;

    /**
     * 净售额
     */
    @JsonSerialize(using = CustomDoubleSerialize.class)
    private double netSalesAmount;

    /**
     * 净成本
     */
    @JsonSerialize(using = CustomDoubleSerialize.class)
    private double netCost;

    /**
     * 销售类型
     */
    private int type;



}
